package com.igeekhome.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class DDeliveryToDestinationAreaQuotationExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public DDeliveryToDestinationAreaQuotationExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andOfferIdIsNull() {
            addCriterion("offer_id is null");
            return (Criteria) this;
        }

        public Criteria andOfferIdIsNotNull() {
            addCriterion("offer_id is not null");
            return (Criteria) this;
        }

        public Criteria andOfferIdEqualTo(Integer value) {
            addCriterion("offer_id =", value, "offerId");
            return (Criteria) this;
        }

        public Criteria andOfferIdNotEqualTo(Integer value) {
            addCriterion("offer_id <>", value, "offerId");
            return (Criteria) this;
        }

        public Criteria andOfferIdGreaterThan(Integer value) {
            addCriterion("offer_id >", value, "offerId");
            return (Criteria) this;
        }

        public Criteria andOfferIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("offer_id >=", value, "offerId");
            return (Criteria) this;
        }

        public Criteria andOfferIdLessThan(Integer value) {
            addCriterion("offer_id <", value, "offerId");
            return (Criteria) this;
        }

        public Criteria andOfferIdLessThanOrEqualTo(Integer value) {
            addCriterion("offer_id <=", value, "offerId");
            return (Criteria) this;
        }

        public Criteria andOfferIdIn(List<Integer> values) {
            addCriterion("offer_id in", values, "offerId");
            return (Criteria) this;
        }

        public Criteria andOfferIdNotIn(List<Integer> values) {
            addCriterion("offer_id not in", values, "offerId");
            return (Criteria) this;
        }

        public Criteria andOfferIdBetween(Integer value1, Integer value2) {
            addCriterion("offer_id between", value1, value2, "offerId");
            return (Criteria) this;
        }

        public Criteria andOfferIdNotBetween(Integer value1, Integer value2) {
            addCriterion("offer_id not between", value1, value2, "offerId");
            return (Criteria) this;
        }

        public Criteria andOfferNameIsNull() {
            addCriterion("offer_name is null");
            return (Criteria) this;
        }

        public Criteria andOfferNameIsNotNull() {
            addCriterion("offer_name is not null");
            return (Criteria) this;
        }

        public Criteria andOfferNameEqualTo(String value) {
            addCriterion("offer_name =", value, "offerName");
            return (Criteria) this;
        }

        public Criteria andOfferNameNotEqualTo(String value) {
            addCriterion("offer_name <>", value, "offerName");
            return (Criteria) this;
        }

        public Criteria andOfferNameGreaterThan(String value) {
            addCriterion("offer_name >", value, "offerName");
            return (Criteria) this;
        }

        public Criteria andOfferNameGreaterThanOrEqualTo(String value) {
            addCriterion("offer_name >=", value, "offerName");
            return (Criteria) this;
        }

        public Criteria andOfferNameLessThan(String value) {
            addCriterion("offer_name <", value, "offerName");
            return (Criteria) this;
        }

        public Criteria andOfferNameLessThanOrEqualTo(String value) {
            addCriterion("offer_name <=", value, "offerName");
            return (Criteria) this;
        }

        public Criteria andOfferNameLike(String value) {
            addCriterion("offer_name like", value, "offerName");
            return (Criteria) this;
        }

        public Criteria andOfferNameNotLike(String value) {
            addCriterion("offer_name not like", value, "offerName");
            return (Criteria) this;
        }

        public Criteria andOfferNameIn(List<String> values) {
            addCriterion("offer_name in", values, "offerName");
            return (Criteria) this;
        }

        public Criteria andOfferNameNotIn(List<String> values) {
            addCriterion("offer_name not in", values, "offerName");
            return (Criteria) this;
        }

        public Criteria andOfferNameBetween(String value1, String value2) {
            addCriterion("offer_name between", value1, value2, "offerName");
            return (Criteria) this;
        }

        public Criteria andOfferNameNotBetween(String value1, String value2) {
            addCriterion("offer_name not between", value1, value2, "offerName");
            return (Criteria) this;
        }

        public Criteria andClientTypeIsNull() {
            addCriterion("client_type is null");
            return (Criteria) this;
        }

        public Criteria andClientTypeIsNotNull() {
            addCriterion("client_type is not null");
            return (Criteria) this;
        }

        public Criteria andClientTypeEqualTo(String value) {
            addCriterion("client_type =", value, "clientType");
            return (Criteria) this;
        }

        public Criteria andClientTypeNotEqualTo(String value) {
            addCriterion("client_type <>", value, "clientType");
            return (Criteria) this;
        }

        public Criteria andClientTypeGreaterThan(String value) {
            addCriterion("client_type >", value, "clientType");
            return (Criteria) this;
        }

        public Criteria andClientTypeGreaterThanOrEqualTo(String value) {
            addCriterion("client_type >=", value, "clientType");
            return (Criteria) this;
        }

        public Criteria andClientTypeLessThan(String value) {
            addCriterion("client_type <", value, "clientType");
            return (Criteria) this;
        }

        public Criteria andClientTypeLessThanOrEqualTo(String value) {
            addCriterion("client_type <=", value, "clientType");
            return (Criteria) this;
        }

        public Criteria andClientTypeLike(String value) {
            addCriterion("client_type like", value, "clientType");
            return (Criteria) this;
        }

        public Criteria andClientTypeNotLike(String value) {
            addCriterion("client_type not like", value, "clientType");
            return (Criteria) this;
        }

        public Criteria andClientTypeIn(List<String> values) {
            addCriterion("client_type in", values, "clientType");
            return (Criteria) this;
        }

        public Criteria andClientTypeNotIn(List<String> values) {
            addCriterion("client_type not in", values, "clientType");
            return (Criteria) this;
        }

        public Criteria andClientTypeBetween(String value1, String value2) {
            addCriterion("client_type between", value1, value2, "clientType");
            return (Criteria) this;
        }

        public Criteria andClientTypeNotBetween(String value1, String value2) {
            addCriterion("client_type not between", value1, value2, "clientType");
            return (Criteria) this;
        }

        public Criteria andSendAreaIdIsNull() {
            addCriterion("send_area_id is null");
            return (Criteria) this;
        }

        public Criteria andSendAreaIdIsNotNull() {
            addCriterion("send_area_id is not null");
            return (Criteria) this;
        }

        public Criteria andSendAreaIdEqualTo(Integer value) {
            addCriterion("send_area_id =", value, "sendAreaId");
            return (Criteria) this;
        }

        public Criteria andSendAreaIdNotEqualTo(Integer value) {
            addCriterion("send_area_id <>", value, "sendAreaId");
            return (Criteria) this;
        }

        public Criteria andSendAreaIdGreaterThan(Integer value) {
            addCriterion("send_area_id >", value, "sendAreaId");
            return (Criteria) this;
        }

        public Criteria andSendAreaIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("send_area_id >=", value, "sendAreaId");
            return (Criteria) this;
        }

        public Criteria andSendAreaIdLessThan(Integer value) {
            addCriterion("send_area_id <", value, "sendAreaId");
            return (Criteria) this;
        }

        public Criteria andSendAreaIdLessThanOrEqualTo(Integer value) {
            addCriterion("send_area_id <=", value, "sendAreaId");
            return (Criteria) this;
        }

        public Criteria andSendAreaIdIn(List<Integer> values) {
            addCriterion("send_area_id in", values, "sendAreaId");
            return (Criteria) this;
        }

        public Criteria andSendAreaIdNotIn(List<Integer> values) {
            addCriterion("send_area_id not in", values, "sendAreaId");
            return (Criteria) this;
        }

        public Criteria andSendAreaIdBetween(Integer value1, Integer value2) {
            addCriterion("send_area_id between", value1, value2, "sendAreaId");
            return (Criteria) this;
        }

        public Criteria andSendAreaIdNotBetween(Integer value1, Integer value2) {
            addCriterion("send_area_id not between", value1, value2, "sendAreaId");
            return (Criteria) this;
        }

        public Criteria andDestinationAreaIdIsNull() {
            addCriterion("destination_area_id is null");
            return (Criteria) this;
        }

        public Criteria andDestinationAreaIdIsNotNull() {
            addCriterion("destination_area_id is not null");
            return (Criteria) this;
        }

        public Criteria andDestinationAreaIdEqualTo(Integer value) {
            addCriterion("destination_area_id =", value, "destinationAreaId");
            return (Criteria) this;
        }

        public Criteria andDestinationAreaIdNotEqualTo(Integer value) {
            addCriterion("destination_area_id <>", value, "destinationAreaId");
            return (Criteria) this;
        }

        public Criteria andDestinationAreaIdGreaterThan(Integer value) {
            addCriterion("destination_area_id >", value, "destinationAreaId");
            return (Criteria) this;
        }

        public Criteria andDestinationAreaIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("destination_area_id >=", value, "destinationAreaId");
            return (Criteria) this;
        }

        public Criteria andDestinationAreaIdLessThan(Integer value) {
            addCriterion("destination_area_id <", value, "destinationAreaId");
            return (Criteria) this;
        }

        public Criteria andDestinationAreaIdLessThanOrEqualTo(Integer value) {
            addCriterion("destination_area_id <=", value, "destinationAreaId");
            return (Criteria) this;
        }

        public Criteria andDestinationAreaIdIn(List<Integer> values) {
            addCriterion("destination_area_id in", values, "destinationAreaId");
            return (Criteria) this;
        }

        public Criteria andDestinationAreaIdNotIn(List<Integer> values) {
            addCriterion("destination_area_id not in", values, "destinationAreaId");
            return (Criteria) this;
        }

        public Criteria andDestinationAreaIdBetween(Integer value1, Integer value2) {
            addCriterion("destination_area_id between", value1, value2, "destinationAreaId");
            return (Criteria) this;
        }

        public Criteria andDestinationAreaIdNotBetween(Integer value1, Integer value2) {
            addCriterion("destination_area_id not between", value1, value2, "destinationAreaId");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andBirthTimeIsNull() {
            addCriterion("birth_time is null");
            return (Criteria) this;
        }

        public Criteria andBirthTimeIsNotNull() {
            addCriterion("birth_time is not null");
            return (Criteria) this;
        }

        public Criteria andBirthTimeEqualTo(Date value) {
            addCriterion("birth_time =", value, "birthTime");
            return (Criteria) this;
        }

        public Criteria andBirthTimeNotEqualTo(Date value) {
            addCriterion("birth_time <>", value, "birthTime");
            return (Criteria) this;
        }

        public Criteria andBirthTimeGreaterThan(Date value) {
            addCriterion("birth_time >", value, "birthTime");
            return (Criteria) this;
        }

        public Criteria andBirthTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("birth_time >=", value, "birthTime");
            return (Criteria) this;
        }

        public Criteria andBirthTimeLessThan(Date value) {
            addCriterion("birth_time <", value, "birthTime");
            return (Criteria) this;
        }

        public Criteria andBirthTimeLessThanOrEqualTo(Date value) {
            addCriterion("birth_time <=", value, "birthTime");
            return (Criteria) this;
        }

        public Criteria andBirthTimeIn(List<Date> values) {
            addCriterion("birth_time in", values, "birthTime");
            return (Criteria) this;
        }

        public Criteria andBirthTimeNotIn(List<Date> values) {
            addCriterion("birth_time not in", values, "birthTime");
            return (Criteria) this;
        }

        public Criteria andBirthTimeBetween(Date value1, Date value2) {
            addCriterion("birth_time between", value1, value2, "birthTime");
            return (Criteria) this;
        }

        public Criteria andBirthTimeNotBetween(Date value1, Date value2) {
            addCriterion("birth_time not between", value1, value2, "birthTime");
            return (Criteria) this;
        }

        public Criteria andDeadTimeIsNull() {
            addCriterion("dead_time is null");
            return (Criteria) this;
        }

        public Criteria andDeadTimeIsNotNull() {
            addCriterion("dead_time is not null");
            return (Criteria) this;
        }

        public Criteria andDeadTimeEqualTo(Date value) {
            addCriterion("dead_time =", value, "deadTime");
            return (Criteria) this;
        }

        public Criteria andDeadTimeNotEqualTo(Date value) {
            addCriterion("dead_time <>", value, "deadTime");
            return (Criteria) this;
        }

        public Criteria andDeadTimeGreaterThan(Date value) {
            addCriterion("dead_time >", value, "deadTime");
            return (Criteria) this;
        }

        public Criteria andDeadTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("dead_time >=", value, "deadTime");
            return (Criteria) this;
        }

        public Criteria andDeadTimeLessThan(Date value) {
            addCriterion("dead_time <", value, "deadTime");
            return (Criteria) this;
        }

        public Criteria andDeadTimeLessThanOrEqualTo(Date value) {
            addCriterion("dead_time <=", value, "deadTime");
            return (Criteria) this;
        }

        public Criteria andDeadTimeIn(List<Date> values) {
            addCriterion("dead_time in", values, "deadTime");
            return (Criteria) this;
        }

        public Criteria andDeadTimeNotIn(List<Date> values) {
            addCriterion("dead_time not in", values, "deadTime");
            return (Criteria) this;
        }

        public Criteria andDeadTimeBetween(Date value1, Date value2) {
            addCriterion("dead_time between", value1, value2, "deadTime");
            return (Criteria) this;
        }

        public Criteria andDeadTimeNotBetween(Date value1, Date value2) {
            addCriterion("dead_time not between", value1, value2, "deadTime");
            return (Criteria) this;
        }

        public Criteria andServicingTimeIsNull() {
            addCriterion("servicing_time is null");
            return (Criteria) this;
        }

        public Criteria andServicingTimeIsNotNull() {
            addCriterion("servicing_time is not null");
            return (Criteria) this;
        }

        public Criteria andServicingTimeEqualTo(Date value) {
            addCriterion("servicing_time =", value, "servicingTime");
            return (Criteria) this;
        }

        public Criteria andServicingTimeNotEqualTo(Date value) {
            addCriterion("servicing_time <>", value, "servicingTime");
            return (Criteria) this;
        }

        public Criteria andServicingTimeGreaterThan(Date value) {
            addCriterion("servicing_time >", value, "servicingTime");
            return (Criteria) this;
        }

        public Criteria andServicingTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("servicing_time >=", value, "servicingTime");
            return (Criteria) this;
        }

        public Criteria andServicingTimeLessThan(Date value) {
            addCriterion("servicing_time <", value, "servicingTime");
            return (Criteria) this;
        }

        public Criteria andServicingTimeLessThanOrEqualTo(Date value) {
            addCriterion("servicing_time <=", value, "servicingTime");
            return (Criteria) this;
        }

        public Criteria andServicingTimeIn(List<Date> values) {
            addCriterion("servicing_time in", values, "servicingTime");
            return (Criteria) this;
        }

        public Criteria andServicingTimeNotIn(List<Date> values) {
            addCriterion("servicing_time not in", values, "servicingTime");
            return (Criteria) this;
        }

        public Criteria andServicingTimeBetween(Date value1, Date value2) {
            addCriterion("servicing_time between", value1, value2, "servicingTime");
            return (Criteria) this;
        }

        public Criteria andServicingTimeNotBetween(Date value1, Date value2) {
            addCriterion("servicing_time not between", value1, value2, "servicingTime");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}